/**
 * Date:2021年4月29日 下午3:35:08
 * Copyright (c) 2021, www.bwbroad.com All Rights Reserved
 */

package com.app.producer.vo;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.util.Date;

/**
 * Description: TODO <br/>
 * Date:2021年4月29日 下午3:35:08 <br/>
 * 
 * @author xuejianxin
 */
public class Demo {
	private String id;
	private String name;
	private Long age;
	
	private Date utilDate=new Date();
	private LocalDate localDate=LocalDate.now();
	private LocalDateTime localDateTime=LocalDateTime.now();
	private LocalTime localTime=LocalTime.now();

	public String getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	public Long getAge() {
		return age;
	}

	public void setId(String id) {
		this.id = id;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setAge(Long age) {
		this.age = age;
	}

	
	
	
	public Date getUtilDate() {
		return utilDate;
	}

	public LocalDate getLocalDate() {
		return localDate;
	}

	public LocalDateTime getLocalDateTime() {
		return localDateTime;
	}

	public LocalTime getLocalTime() {
		return localTime;
	}

	public void setUtilDate(Date utilDate) {
		this.utilDate = utilDate;
	}

	public void setLocalDate(LocalDate localDate) {
		this.localDate = localDate;
	}

	public void setLocalDateTime(LocalDateTime localDateTime) {
		this.localDateTime = localDateTime;
	}

	public void setLocalTime(LocalTime localTime) {
		this.localTime = localTime;
	}

	@Override
	public String toString() {
		return String.format("Demo [id=%s, name=%s, age=%s, utilDate=%s, localDate=%s, localDateTime=%s, localTime=%s]",
				id, name, age, utilDate, localDate, localDateTime, localTime);
	}

	
	
	
	
}
